package cn.bjc.org.service;

import cn.bjc.basic.service.IBaseService;
import cn.bjc.org.domain.Shop;
import cn.bjc.org.domain.ShopLog;
import cn.bjc.org.dto.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 店铺服务接口
 */
public interface IShopService extends IBaseService<Shop> {
    
    //店铺入驻
    void settlement(Shop shop);

    //审核通过
    void pass(ShopLog log) throws MessagingException;

    //驳回
    void reject(ShopLog log) throws MessagingException;
    
    //返回echarts数据
    List<ShopDto> getEcharts();
}
